package com.r2coding.ent.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.r2coding.common.util.PageUtils;
import com.r2coding.common.util.Query;

import com.r2coding.ent.dao.SayDao;
import com.r2coding.ent.entity.SayEntity;
import com.r2coding.ent.service.SayService;

/**
 * 说说
 *
 * @author 98k灬
 * @email hk666zx@163.com
 * @date 2022-06-20 19:59:36
 */
@Service("sayService")
public class SayServiceImpl extends ServiceImpl<SayDao, SayEntity> implements SayService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SayEntity> page = this.page(
                new Query<SayEntity>().getPage(params),
                new QueryWrapper<SayEntity>()
        );

        return new PageUtils(page);
    }

}